#include "../NewSyndrome-module.h"
#include "auth-public.h"
#include "admin-public.h"
#include <time.h>


typedef struct _t_protect t_protect;
struct _t_protect
{
  char *channel;
  unsigned int start;
  int nbuser;
  t_protect *next;
  t_protect *prev;
};

t_protect *phead;

t_protect *rm_protect (t_protect * tete, t_protect * p);
t_protect *get_protect_by_channel (t_protect * tete, char *nom);
t_protect *add_protect (t_protect * tete, char *nom);
